<div class=" animated fadeInRight ecommerce">
    <div class="row" v-if="contractChangeAuditOrdersInfo.audit == '1'">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5><vc:i18n name="变更待办单" namespace="contractChangeAuditOrders"></vc:i18n></h5>
                    <div class="ibox-tools" style="top:10px;">
                    </div>
                </div>
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center"><span><vc:i18n name="合同编号" namespace="contractChangeAuditOrders"></vc:i18n></span></th>
                                <th class="text-center"><span><vc:i18n name="合同名称" namespace="contractChangeAuditOrders"></vc:i18n></span></th>
                                <th class="text-center"><span><vc:i18n name="合同类型" namespace="contractChangeAuditOrders"></vc:i18n></span></th>
                                <th class="text-center"><span><vc:i18n name="合同状态" namespace="contractChangeAuditOrders"></vc:i18n></span></th>
                                <th class="text-center"><span><vc:i18n name="创建时间" namespace="contractChangeAuditOrders"></vc:i18n></span></th>
                                <th class="text-center"><span><vc:i18n name="操作" namespace="contractChangeAuditOrders"></vc:i18n></span></th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="auditOrder in contractChangeAuditOrdersInfo.contractChangeAuditOrders">
                                <td class="text-center">{{auditOrder.contractCode}}</td>
                                <td class="text-center">{{auditOrder.contractName}}</td>
                                <td class="text-center">{{auditOrder.contractTypeName}}</td>
                                <td class="text-center">{{auditOrder.stateName}}</td>
                                <td class="text-center">{{auditOrder.createTime}}</td>
                                <td class="text-center">
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs" v-on:click="_viewChangeDetail(auditOrder)"><span><vc:i18n name="查看" namespace="contractChangeAuditOrders"></vc:i18n></span>
                                        </button>
                                    </div>
                                    <div>
                                        <div class="btn-group" v-if="auditOrder.hasAudit && !auditOrder.hasEnd">
                                            <button class="btn-white btn btn-xs" v-on:click="_openAuditOrderModel(auditOrder)"><span><vc:i18n name="审批" namespace="contractChangeAuditOrders"></vc:i18n></span>
                                            </button>
                                        </div>
                                        <div class="btn-group" v-if="auditOrder.hasEnd">
                                            <button class="btn-white btn btn-xs" v-on:click="_finishAuditOrder(auditOrder)"><span><vc:i18n name="结束" namespace="contractChangeAuditOrders"></vc:i18n></span>
                                            </button>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="7">
                                    <ul class="pagination float-right"></ul>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>
    <div v-else>
        <vc:create path="common/flowAudit" callBackListener="contractChangeAuditOrders" callBackFunction="notifyAudit"></vc:create>
    </div>
</div>
